import http from "@/utils/http";

/**
 * @desc 获取租户列表
 * @returns
 */
export const getTenantList = () => {
  return http.get("/sass/tenant/list");
};

/**
 * @desc 切换租户
 * @param tenantId 租户ID
 * @returns
 */
export const switchTenant = (tenantId:string) => {
  return http.put(`/sass/tenant/select/${tenantId}`);
};
